package com.qhy.springcloud.test;

import java.time.ZonedDateTime;

/**
 * @author qiuhongyu
 * @date 2020/11/11 9:47
 */
public class T2 {
    public static void main(String[] args) {
        ZonedDateTime qhy = ZonedDateTime.now();//默认时区
        System.out.println(qhy);
        //2020-11-11T09:49:26.174+08:00[Asia/Shanghai]
    }
}
